<?php
include "../Service/locationsService.php";

function showLocations(){
    $result = getLocations();
    while($row = mysql_fetch_array($result))
    {
        $degree['id'] = $row["JOB_LOC_ID"];
        $degree['title'] = $row["JOB_LOC_NAME"];
        $degree['descript'] = $row["JOB_LOC_MAP_URL"];
        $arrDegree[] = $degree;
    }
    return $arrDegree;
}
?>